<?php
class State extends AppModel {
	var $name = 'State' ;
	
	var $hasMany =  array('ServiceOrderRowState');

	public $validate = array(
			'nombre' => array(
					'rule' =>  array('maxLength', 50),
					'message' => 'La longitud maxima es de 50 caracteres'
			)
	);
}
